import { Module } from "@nestjs/common"
import { AuthorizationController } from "./authorization.controller"
import { AuthorizationService } from "./authorization.service"
import { TypeOrmModule } from "@nestjs/typeorm"
import { AuthorizationEntity } from "./authorization.entity"
import { ProgramEntity } from "../program/program.entity"
import { PiracyService } from "../piracy/piracy.service"
import { PiracyEntity } from "../piracy/piracy.entity"

@Module({
  imports: [
    TypeOrmModule.forFeature([AuthorizationEntity, ProgramEntity, PiracyEntity])
  ],
  controllers: [AuthorizationController],
  providers: [AuthorizationService, PiracyService]
})
export class AuthorizationModule {}
